<?php 
$connect = new DatabaseConnection('localhost','roniplco','a5mzf47P7F', 'blogpage');
$db = new selectdb('roniplco_rpblog');


$sql = "SELECT * FROM blogpage";
$r = mysql_query($sql);
$rows = mysql_fetch_array($r);
$result =mysql_query($sql);


?>
<script type="text/javascript" src="js/modal.js"></script>
<script type="text/javascript" src="js/blog.js"></script>
<!-- MAIN CONTENT TEMPLATE -->
<div class="container">
	<div class="section clearing">
		<div class="column div_1_of_1 rp-web-header">
		<h1>All about web.</h1>
		<div class="rp-wrapper-name">
			<span class="rp-roni">ronipinili blog</span>
			<div class="clear"></div>
		</div>
		</div>
	</div><!-- /end of web title -->
	<div class="section clearing">
		<div class="column div_3_of_4">
			<!-- <div class="rp-blog-wrapper">
				 <h2 class="rp-blog-title">
				 	<span class="orig"></span> 
				 	<input type="text" class=" rp-edit-title" name="" id="" value="">
				 </h2> 
				 <p class="rp-blog-subject">
				 	<span class="orig"></span> 
				 	<textarea class=" rp-edit-blog-content" style="width:100%;"></textarea>
				 </p> 
				<div class="button edit-btn">Edit</div>
			</div> --><!-- this is the blog subject wrapper -->
			<!-- <div class="rp-blog-wrapper">
				 <h2 class="rp-blog-title">
				 	<span class="orig"></span> 
				 	<input type="text" class=" rp-edit-title" name="" id="" value="">
				 </h2> 
				 <p class="rp-blog-subject">
				 	<span class="orig"></span> 
				 	<textarea class=" rp-edit-blog-content" style="width:100%;"></textarea>
				 </p> 
				<div class="button edit-btn">Edit</div>
			</div> --><!-- this is the blog subject wrapper -->
			<div class="button add-new">Add new blog</div>
		</div>
		<?php include 'layout/side-widget.php'; ?>
	</div><!-- /end of content wrapper -->
</div>
<!-- MAIN CONTENT TEMPLATE -->
